projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd8f472
)
x86: ivybridge: Enable the MRC cache
author
Bin Meng
<
[email protected]
>
Sun, 18 Oct 2015 21:55:37 +0000
(15:55 -0600)
committer
Simon Glass
<
[email protected]
>
Wed, 21 Oct 2015 13:46:51 +0000
(07:46 -0600)
This works correctly now, so enable it.
Signed-off-by: Bin Meng <
[email protected]
>
Dropped malloc() and adjusted commit message:
Signed-off-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
arch/x86/cpu/ivybridge/sdram.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/ivybridge/sdram.c
b/arch/x86/cpu/ivybridge/sdram.c
index d9b3dfc12cdfdee761b80a3a494f269461f863a0..4372a5caf2d23e8942a078e580cef4014d37e530 100644
(file)
--- a/
arch/x86/cpu/ivybridge/sdram.c
+++ b/
arch/x86/cpu/ivybridge/sdram.c
@@
-158,14
+158,8
@@
static int prepare_mrc_cache(struct pei_data *pei_data)
if (!mrc_cache)
return -ENOENT;
- /*
- * TODO(
[email protected]
): Skip this for now as it causes boot
- * problems
- */
- if (0) {
- pei_data->mrc_input = mrc_cache->data;
- pei_data->mrc_input_len = mrc_cache->data_size;
- }
+ pei_data->mrc_input = mrc_cache->data;
+ pei_data->mrc_input_len = mrc_cache->data_size;
debug("%s: at %p, size %x checksum %04x\n", __func__,
pei_data->mrc_input, pei_data->mrc_input_len,
mrc_cache->checksum);